
#ifndef _MEM_ALLOC_TRACKER_HXX_
#define _MEM_ALLOC_TRACKER_HXX_

#ifdef __cplusplus
extern "C" {
#endif

typedef enum { MALLOC = 0x11, ALLOCPAGES = 0x12, BUFFER = 0x13 } alloc_type;

extern void mem_alloc_track(alloc_type type, ulong32 bytes_or_frames);
extern void mem_alloc_clear();
extern void mem_alloc_display(boolean_t verbose);
extern void mem_alloc_display_status();
extern int mat_next_free;
extern int mat_recording_enabled;
extern unsigned int malloc_minimum;
extern unsigned int pla_minimum;

#ifdef __cplusplus
}
#endif

#endif
